import { createApp } from 'vue'
import router from './router'
import './styles/index.scss'
import { useREM } from '@/utils/flexible'
import mLibs from './libs'
import store from './store'
import myDirective from '@/directives/index.js'
import './permission'
useREM()
import App from './App.vue'
import 'virtual:svg-icons-register'
import useTheme from './utils/theme'
// 初始化主题
useTheme()

createApp(App).use(router).use(mLibs).use(store).use(myDirective).mount('#app')
